<ion-view title="服务请求详情">    
<ion-content>      

<div class="list" style="box-shadow: 0px 5px 5px #888888;background-color: #f2f2f2;">
	<div class="row">
	  <div class="col col-50">事件单号：{{data.serialno}} </div>
	  <div class="col col-50">状态：{{data.statuname}}</div>
	</div>
	<div class="row">
	  <div class="col col-50">用户名：{{userinfo.username}}</div>
	  <div class="col col-50">部门：{{userinfo.department}}</div>
	</div>
	<div class="row">
	  <div class="col col-50">电话：{{userinfo.phone}}</div>
	  <div class="col col-50">邮件：{{userinfo.email}}</div>
	</div>
</div>
<div class="list" >
	
	<label class="item item-input item-select">
    <div class="input-label">
      严重级别
    </div>
    <select class="form-control" ng-model='data.impact' disabled>
	    				<option value="">--请选择--</option>
	    				<option value="PROBLEM_IMPACT_10">高</option>
	    				<option value="PROBLEM_IMPACT_20">中</option>
	    				<option value="PROBLEM_IMPACT_30">低</option>
						
	    			</select>
  </label>
  <label class="item item-input item-select">
    <div class="input-label">
      紧急程度
    </div>
    <select class="form-control" ng-model='data.urgency' disabled>
	    				
						<option value="">--请选择--</option>
	    				<option value="PROBLEM_URGENCY_10">高</option>
	    				<option value="PROBLEM_URGENCY_20">中</option>
	    				<option value="PROBLEM_URGENCY_30">低</option>
						
	    			</select>
  </label>
  <label class="item item-input item-select">
    <div class="input-label">
      优先级
    </div>
    <select class="form-control" ng-model='data.priority' disabled>
	    				<option value="">--请选择--</option>
	    				<option value="PROBLEM_PRIORITY_P1">P1</option>
	    				<option value="PROBLEM_PRIORITY_P2">P2</option>
	    				<option value="PROBLEM_PRIORITY_P3">P3</option>
	    			</select>
  </label>
    <label class="item item-input">
    <div class="input-label">
      请求类型
    </div>
    {{data.typeName}}
  </label>

    <label class="item item-input">
    <div class="input-label">
      重大事件
    </div>
    <span>{{data.majorevent}}</span>
  </label>
  <label class="item item-text-wrap">
       
        <h2>{{data.title}}</h2>
    </label>
    <div class="item item-text-wrap">
        <p>描述：</p>
        <p ng-bind-html="data.description| trustHtml"></p>
    </div>
	<div class="card">
		<div class="item item-divider">
         处理过程
        </div>
        <div class="item item-text-wrap" ng-repeat="p in data.deal_process">
        	<p>{{p.submit_info}} </p>
          	<p>{{p.execute_date}}</p>
        </div>
    </div>	
    
	<div class="row">
	  <div class="col col-50"><button class="button button-block button-positive" ng-disabled="slbtndisabled" ng-click='doProcess(data)'>受理</button></div>
	  <div class="col col-50"><button class="button button-block button-positive" ng-disabled="tjbtndisabled" ng-click='doProcess(data)'>提交</button></div>
	</div>
			
</div>


</ion-content>
</ion-view>